﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GiveGraphMappers;

namespace WebApp.Models
{
    public sealed class AppConstants
    {
        private static readonly IEnumerable<string> _TypeOfVolunteering = new[]
                                                                              {
                                                                                  "Outras/Indiferente",
                                                                                  "Ambiente",
                                                                                  "Cidadania e Defesa dos Direitos",
                                                                                  "Cultura e Artes",
                                                                                  "Desporto e Lazer",
                                                                                  "Educação",
                                                                                  "Novas Tecnologias",
                                                                                  "Saúde",
                                                                                  "Solidariedade Social",
                                                                              };

        private static readonly IEnumerable<string> _AreaofVolunteering = new ServiceCategoryMapper().GetAll().Select(av => av.Name);
        private static readonly IEnumerable<string> _Destinataries = new SpecialtyAreaMapper().GetAll().Select(tv => tv.Name);

        public static IEnumerable<string> TypeOfVolunteering { get { return _TypeOfVolunteering; } }
        public static IEnumerable<string> AreaofVolunteering { get { return _AreaofVolunteering; } }
        public static IEnumerable<string> Destinataries { get { return _Destinataries; } }
    }
}